import {Node} from "cc";
import { ecs } from "db://oops-framework/libs/ecs/ECS";

@ecs.register('nodeComponent')
export class NodeComponent extends ecs.Comp {
    val: Node | null = null;

    /**
     * 回收组件的时候调用
     */
    reset(): void {
        this.val = null;
    }

}